# == Schema Information
#
# Table name: sales_invoices
#
#  id              :integer          not null, primary key
#  firm_id         :integer
#  order_id        :integer
#  finance_info_id :integer
#  created_by      :integer
#  invoice_money   :float(24)
#  invoice_type    :integer
#  invoice_num     :string(255)
#  invoice_date    :datetime
#  notes           :string(255)
#  created_at      :datetime         not null
#  updated_at      :datetime         not null
#

FactoryGirl.define do
  factory :sales_invoice, class: 'Sales::Invoice' do
    firm_id 1
    order_id 1
    finance_info_id 1
    created_by 1
    invoice_money 1.5
    invoice_type 1
    invoice_num "MyString"
    invoice_date "2017-06-26 16:43:23"
    notes "MyString"
  end
end
